#ifndef _GL_POOL_TEXTURES_H_
#define _GL_POOL_TEXTURES_H_

#include "util.h"

/*Modulo para controlar a carga e chaveamento de texturas. Deve ser chamado "Free_Texture()" ao final da execucao*/

bool	Init_Texture(int Tex = -1);
void	Refresh_Texture();
void	Free_Texture(int Tex= -1);
bool	Switch_Texture(int Tex);
void	Draw_Texture();
void	Begin_Texture(int Tex,GLenum target=GL_TEXTURE_ENV,GLenum pname=GL_TEXTURE_ENV_MODE,GLint param=GL_REPLACE);
void	Begin_Texture(GLenum target=GL_TEXTURE_ENV,GLenum pname=GL_TEXTURE_ENV_MODE,GLint param=GL_REPLACE);
void	End_Texture();

#endif
